package service;

import pojo.User;

import java.sql.SQLException;

public interface UserService {
    //根据用户名查询用户对象
    User selectByUsername(String username) throws SQLException;
    //注册用户
    int addUser(User user);
}
